package com.cdp.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdp.common.core.domain.AjaxResult;
import com.cdp.common.core.domain.entity.SysWater;
import com.cdp.system.dto.SysWaterDTO;
import com.cdp.system.mapper.SysWaterMapper;
import com.cdp.system.service.ISysWaterService;
import com.cdp.system.vo.SysWaterVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class SysWaterServiceImpl extends ServiceImpl<SysWaterMapper, SysWater> implements ISysWaterService {

    @Autowired
    private  SysWaterMapper sysWaterMapper;

    @Override
    public AjaxResult queryLikeWater(SysWaterDTO sysWaterDTO) {
     List<SysWaterVO>  sysWaterVOS=  sysWaterMapper.queryLikeWater(sysWaterDTO);
        return AjaxResult.success(sysWaterVOS);
    }
}
